<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "" "">
<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:w="http://www.apusic.com/jsf/widget"
	xmlns:layout="http://www.apusic.com/jsf/layout"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ajax="http://www.apusic.com/jsf/ajax"
	xmlns:g="http://www.apusic.com/jsf/graph" renderKitId="AJAX">
	<w:head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	</w:head>
	<w:page>
		<layout:panelGrid columns="2">
			<layout:cell>
				<w:form>
					<w:dataGrid id="uncheckedDataGrid" paged="true" rows="16"
						loadMask="true" toolBarPosition="bottom" singleSelect="true"
						selectionModel="#{constantBean.checkBox}" var="unchecked"
						width="395" height="365" idColumn="id">
						<w:outputColumn id="id" header="ID" value="#{unchecked.id}"
							hidden="true" />
						<w:outputColumn id="name" header="未分配权限" />
						<w:outputColumn id="displayName" header="权限名称" />
					</w:dataGrid>
					<w:pagingToolbar for="uncheckedDataGrid" target="uncheckedDataGrid">
						<w:button id="add" image="../../resources/images/new.gif" />
					</w:pagingToolbar>
				</w:form>
			</layout:cell>
			<layout:cell>
				<w:form>
					<w:dataGrid id="checkedDataGrid" paged="true" rows="16"
						loadMask="true" toolBarPosition="bottom" singleSelect="true"
						selectionModel="#{constantBean.checkBox}" var="checked"
						width="395" height="365" idColumn="id">
						<w:outputColumn id="id" header="ID" value="#{checked.id}"
							hidden="true" />
						<w:outputColumn id="name" header="已分配权限" />
						<w:outputColumn id="displayName" header="权限名称" />
					</w:dataGrid>
					<w:pagingToolbar for="checkedDataGrid" target="checkedDataGrid">
						<w:button id="del" image="../../resources/images/delete.gif" />
					</w:pagingToolbar>
				</w:form>
			</layout:cell>
		</layout:panelGrid>
	</w:page>
</f:view>